package com.chrray.position.service.web;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chrray.position.domain.FdUser;
import com.chrray.position.domain.dto.*;
import com.chrray.position.domain.vo.FdUserResumeVO;
import com.chrray.position.entity.position.FdPostingsUserExeVo;
import com.chrray.position.entity.position.FdUserExe;
import com.chrray.position.pojo.dto.BasePostingsIdDto;
import com.chrray.position.pojo.dto.web.FdUserStateDto;
import com.chrray.position.util.result.ResponseResult;

import java.util.List;

/**
 * 业务系统用户 接口
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
public interface WFdUserService extends IService<FdUser> {

    /**
     * 分页查询
     * @return 分页列表
     */
    IPage<FdUser> pageList(FdUserExe fdUser);


    IPage<FdUserExe> pagePostingsUserList(FdUserExe fdUser);

    FdPostingsUserExeVo detailById(BasePostingsIdDto dto);

    int employ(BasePostingsIdDto dto);

    int upOrDownUser(FdUserStateDto dto);

    ResponseResult<FdPostingsUserExeVo> selectById(Long id);

    ResponseResult cancelEmploy(BasePostingsIdDto dto);

    ResponseResult<Object> complete(BasePostingsIdDto dto);
}
